// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'element-ui/lib/theme-chalk/index.css'
import 'static/css/index.css'
import 'amfe-flexible'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
import weui from 'weui.js'
import 'weui'
Vue.prototype.$weui = weui
// import global from 'static/util/global'
import common from "api/common"
import ElementUI from 'element-ui'
Vue.use(ElementUI)

// Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.prototype.global =window.global
Vue.prototype.common = common
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})
